package cn.tedu.myioc;


import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class MyIOC {
    private List<Bean> beanFactory = new ArrayList<>();

    public MyIOC() {
        Bean b1 = new Bean("user", "cn.tedu.pojo.User");
        Bean b2 = new Bean("hello", "cn.tedu.pojo.Hello");
        Collections.addAll(beanFactory, b1, b2);
        createObj();
    }

    private void createObj() {

    }

}
